import request from '@/utils/request'


export function singleHoseList(data) { //整串软管检测-列表
  return request({
    url: '/hose-management/api/singleHoseCheckMain/page',
    method: 'post',
    data
  })
}


export function singleHoseAdd(data) { //整串软管检测-新增
  return request({
    url: '/hose-management/api/singleHoseCheckMain/add',
    method: 'post',
    data
  })
}


export function singleHoseDetail(data) { //整串软管检测-检测记录
  return request({
    url: '/hose-management/api/singleHoseCheckMain/record',
    method: 'post',
    data
  })
}

export function singleHoseEdit(data) { //检测记录-编辑
  return request({
    url: '/hose-management/api/singleHoseCheckMain/record/edit',
    method: 'post',
    data
  })
}
export function singleHoseDetele(data) { //检测记录-删除
  return request({
    url: '/hose-management/api/singleHoseCheckMain/del/record',
    method: 'post',
    data
  })
}